import request from "@/utils/request";

// 获得房间设置分页
export function getRoomList(query) {
    return request({
      url: "/store/room-setting/page",
      method: "get",
      params: query,
    });
}

// 创建房间设置
export function CreateRoomSet(data) {
  return request({
    url: "/store/room-setting/create",
    method: "post",
    data: data,
  });
}

// 更新房间设置
export function UpdateRoomSet(data) {
  return request({
    url: "/store/room-setting/update",
    method: "PUT",
    data: data,
  });
}

// 删除门店房间信息
export function DeleteRoom(data) {
    return request({
      url: "/store/room-setting/delete",
      method: "DELETE",
      params: data,
    });
}
  